﻿<UserControl x:Class="CPPEI.PM.Shell.Views.WorkSheetView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <ToolBar Grid.Row="0">
            <Button Name="_ctlBtnSync" Content="同步" Click="_ctlBtnSync_Click_1" Visibility="Collapsed"/>
            <Button Name="_ctlBtnSave" Content="保存" Click="_ctlBtnSave_Click_1"/>
            <Button Name="_ctlBtnCreateWorkItem" Content="添加工作项" Click="OnCtlBtnCreateWorkItemClick"/>
            <Button Name="_ctlBtnCreateWorkStage" Content="添加工作阶段" Click="_ctlBtnCreateWorkStage_Click_1"/>
            <Button Name="_ctlBtnWorkStageFilter" Click="_ctlBtnWorkStageFilter_Click_1">
                <StackPanel Orientation="Horizontal">
                    <Image Source="../Res/04.png"/>
                    <TextBlock Text="阶段过滤"/>
                </StackPanel>
            </Button>
        </ToolBar>
        <DataGrid Name="_ctlDataGrid" Grid.Row="1" AutoGenerateColumns="False" BeginningEdit="_ctlDataGrid_BeginningEdit_1">

        </DataGrid>
    </Grid>
</UserControl>
